﻿using A.M.ETO;
using A.M.Storage.I_Application;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.M.Materiel.Application.DTO;
using W.M.Materiel.Application.Services;
using W.M.Materiel.Domain.Entity;
using W.M.Materiel.Infrastruecure.DTO;

namespace W.M.Materiel.Application.IServices
{
    public interface IBom_management_tableServices: IBaseServices<bom_management_table,string>
    {
        Task<ApiReturn<string>> AddInfo(BOM_TableDTO c);

        Task<ApiReturn<string>> GetAddXsInfor(string? id);

        Task<ApiReturn<int>> DeleteBOM(string? c);

        Task<ApiReturn<string>> GetUpdateBOM(Bom_management_tableDTO c);

        Task<bom_management_table> Getbackfill(string? bom_number);

        List<Product_BOMDTO> GetBOMrelation(int pageSize, int pageIndex, string? number, out int totalCount, out int pageCount);

        List<Product_BOMDTO> GetBOMrelations();

        List<Details> GetProduct_BOMDTOs(string? id);

        List<CreatedInfoDTO> GetCreatedinfos(string? id);
    }
}
